package com.example.springbootdemo.impot;

import org.springframework.beans.factory.FactoryBean;

public class MyFactoryBean implements FactoryBean<MyImportDemo> {
    @Override
    public MyImportDemo getObject() throws Exception {
        return new MyImportDemo();
    }

    @Override
    public Class<?> getObjectType() {
        return MyImportDemo.class;
    }

    @Override
    public boolean isSingleton() {
        return false;
    }
}
